
/**
 * @file opts.h
 * Commandline options header
 */

#ifndef OPTS_H
#define OPTS_H

#include <stdio.h>

#include "alsophila-types.h"

#define A52_NUM_SPEAKERS 9

typedef struct {
    int chmap;
    int num_input_files;
    char *infile[A52_NUM_SPEAKERS];
    char *outfile;
    AlsophilaContext *s;
    int pad_start;
    int read_to_eof;
    int raw_input;
    int raw_fmt;
    int raw_order;
    int raw_sr;
    int raw_ch;
} CommandOptions;

extern int parse_commandline(int argc, char **argv, CommandOptions *opts);

#endif /* OPTS_H */
